/*
 * Job.h
 *
 *   Created on: 2010-3-30     
 *  Description: call method的“入栈参数”
 *    Copyright: 2010 @ ICT Li Heyuan
 */

#ifndef JOB_H_
#define JOB_H_

#include "../../include/conn/Conn.h"
#include "../../include/json_cpp/value.h"
using Json::Value;

struct Job
{
	//需要回调的Con
	Conn *_pConn;
	//出错信息
	string _error;

	Job(Conn *conn) :
		_pConn(conn), _error()
	{

	}

	Job() :
		_pConn(NULL), _error()
	{

	}
};

#endif /* JOB_H_ */
